<ol class="breadcrumb">
  <li><a href="<?php echo base_url('welcome') ?>">Trang chủ</a></li>
  <li><a href="#">Tin tức</a></li>
  <li class="active">Thông tin nha khoa</li>
</ol>
<fieldset>
    <legend><?php echo $info ?></legend>
    <?php
        for($i = 0 ; $i < count($content); $i++)
        {
            $madanhmuc  = $content[$i]['madanhmuc'];
            $madanhmuc_cha  = $content[$i]['madanhmuc_cha'];
            $id = $content[$i]['id'];
            $tieude = $content[$i]['tieude'];
            $ngayvietbai = $content[$i]['ngayvietbai'];
            $imageLink = $content[$i]['imagelink'];
            $noidungbaiviet = $content[$i]['noidungbaiviet_viet'];
            echo "<div class='row'>";            
            echo "<div class='col-md-12'>$noidungbaiviet</div>";            
            echo "</div>";
        }
    ?>
</fieldset>
<hr />
<?php 
    if(isset($cacbaidadang) && count($cacbaidadang) > 0)
    {
        ?>        
<div class="panel panel-info">
    <div class="panel-heading">Các tin đã đăng</div>
    <div class="panel-body">    
        <ul>
            <?php 
                foreach($cacbaidadang as $row)
                {
                    echo "<li><a href='". base_url('tintuc/view?tieude=' . $row['tieude'] . '&madanhmuc=' . $row['madanhmuc'] . '&id=' . $row['id'] . '&madanhmuc_cha=' . $row['madanhmuc_cha']) ."'>". $row['tieude'] . " <i style='font-size:12px; color:#000'>(" . date('d/m/Y', strtotime($row['ngayvietbai'])) . ")</i>" . "</a></li>";
                }
            ?>
        </ul>
       <!-- <ul class="pagination">
          <li class="disabled"><a href="#">&laquo;</a></li>
          <li class="active"><a href="#">1</a></li>
          <li class="disabled"><a href="#">&raquo;</a></li>
        </ul>-->
    </div>
</div>
    <?php
    }
?>